-
Notifications
You must be signed in to change notification settings - Fork 619
Move /connect/analytics to app router #4893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4893 +/- ##
=======================================
Coverage 47.61% 47.61%
=======================================
Files 1057 1057
Lines 57221 57221
Branches 3924 3924
=======================================
Hits 27246 27246
Misses 29286 29286
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more. |
0c31e82 to
e712138
Compare
c119272 to
4aeeb94
Compare
size-limit report 📦
|
4aeeb94 to
f95fa52
Compare
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
f95fa52 to
f20b046
Compare
e34b9f4 to
82ed00b
Compare
82ed00b to
2470eac
Compare
apps/dashboard/src/app/(dashboard)/dashboard/connect/analytics/[clientId]/page.tsx
Outdated
Show resolved
Hide resolved
2470eac to
b70a030
Compare
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on enhancing the `Analytics` section of the dashboard by introducing a new `AnalyticsPageAPIKeysMenu`, updating the `ApiKeysMenu` component to use a more generic type, and improving the handling of API keys for better user experience.
### Detailed summary
- Removed `DashboardConnectAnalytics` from constants.
- Added `AnalyticsPageAPIKeysMenu` to manage API keys.
- Updated `ApiKeysMenu` to use a generic type for `apiKeys`.
- Modified selection logic in `ApiKeysMenu` to use `key` instead of `id`.
- Enhanced page redirection logic based on API keys availability.
> The following files were skipped due to too many changes: `apps/dashboard/tsconfig.tsbuildinfo`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
b70a030 to
615dd1e
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the
Analyticsfunctionality in the dashboard by updating the API key management and connecting analytics components. It introduces new components and refactors existing ones for better type safety and user experience.Detailed summary
DashboardConnectAnalyticsconstant.AnalyticsPageAPIKeysMenucomponent for selecting API keys.ApiKeysMenuto use a generic type for better flexibility.Pagecomponent for handling authentication and API key redirection.NoKeysCreatedPageto inform users when no API keys are available.